#import <UIKit/UIKit.h>

/*----------------------------------搜索历史----------------------------------*/

//保存搜所历史到本地
UIKIT_EXTERN NSString * const kSaveHistoryItemSuccessNotification;
//清除搜素历史
UIKIT_EXTERN  NSString * const kClearSearchHistoryNotification;
/*----------------------------------网络提示----------------------------------*/
//网络断开的提示语
UIKIT_EXTERN NSString  * const kNoNetworkTips;

/*----------------------------------网络请求平台key----------------------------------*/
//网络请求不需要平台参数key
UIKIT_EXTERN NSString  * const kNoTerminalKey;

/*-----------------------------NSUserDefaults-----------------------------*/

UIKIT_EXTERN NSString  * const kLoginStatus;
UIKIT_EXTERN NSString  * const kLoginToken;
UIKIT_EXTERN NSString  * const isLogin;
//ipa后台生成的订单号
UIKIT_EXTERN NSString  * const kIPABusinessNOKey;

/*----------------------------------通知----------------------------------*/
//退出账号
UIKIT_EXTERN NSString  * const kLogoutNotification;
//登陆成功
UIKIT_EXTERN NSString  * const kLoginSuccessNotification;
//登陆
UIKIT_EXTERN NSString  * const kLoginNotification;
//我的界面  < 更新个人信息 >
UIKIT_EXTERN NSString  * const kMeUpDataInfoNotification;

//绑定
UIKIT_EXTERN NSString  * const kBindPhoneNotification;

// ali 支付完成通知
UIKIT_EXTERN NSString  * const kAliPayCompleteNotification;
// wechat 支付完成通知
UIKIT_EXTERN NSString  * const kWeChatPayCompleteNotification;



//积分兑换
UIKIT_EXTERN NSString  * const kDidCompleteSignInNotification;//签到
UIKIT_EXTERN NSString  * const kDidCompleteSavePersionInfoNotification;//个人资料


//用户已查看一条信息 通知相关界面修改未查看信息数
UIKIT_EXTERN NSString * const kUnreadMessageCountChangeNotification;

//支付中心收到充值活动的推送通知
UIKIT_EXTERN NSString * const kReceivePayActivityNotification;

/*----------------------------------枚举----------------------------------*/


//typedef NS_ENUM(NSUInteger, JYOrderType) {
//    JYOrderTypeAll = 0, // 全部
//    JYOrderTypeObligation = 1, //待付款
//    JYOrderTypeOverhang = 2, // 待发货
//    JYOrderTypeReceive = 3, // 待收货
//    JYOrderTypeCompleted = 4 // 已完成
//};

typedef NS_ENUM(NSInteger,JYOrderType) {
    JYOrderType_all = 0, // 全部
    JYOrderType_pay = 1,//待付款
    JYOrderType_shipping = 2,//待发货
    JYOrderType_goods = 3,//待收货
    JYOrderType_complete = 4,//已完成
};


//header and footer
typedef NS_ENUM(NSUInteger, HHRefreshType) {
    HHRefreshTypeHeader,//只集成头部刷新
    HHRefreshTypeFooter,//只集成底部刷新
    HHRefreshTypeHeaderAndFooter,//集成头部和底部刷新
};





typedef NS_ENUM(NSUInteger,LYGameDetailType){

    LYGameDetailTypeGameRecord, //游戏记录
    LYGameDetailTypeRecharge,//充值明细
    LYGameDetailTypeRemitAccount,//划账明细
};

/**
 登录枚举
 */
typedef enum : NSUInteger
{   LoginType_Tencent = 1000,        //腾讯
    LoginType_Wechat ,               //微信
    LoginType_Sina,                  //新浪
    
    
}LoginType;
//个人资料类型
typedef NS_ENUM(NSUInteger,LYUserInfoCellType){

    LYUserInfoCellTypeIcon, //头像
    LYUserInfoCellTypeAccount,//账号 
    LYUserInfoCellTypeNickName, //昵称
    LYUserInfoCellTypeTypeSex,//性别
    LYUserInfoCellTypeQQ,//QQ号码
    LYUserInfoCellTypeArea,//所在地区
};



typedef NS_ENUM(NSUInteger, HHUserSexType) {
    HHUserSexTypeMale = 1,//1
    HHUserSexTypeFemale,//2
    HHUserSexTypeSecrte,//3
};

//玩一下平台ID
typedef enum : NSUInteger {
    LYYGamePlatformIDAppStore=31111, //正式环境
    LYYGamePlatformIDTest=11, //测试环境
} LYYGameRechargeGameID;


//积分明细界面使用
typedef NS_ENUM(NSUInteger,recordListType)
{
    integralIncomeListType,//积分收入
    integralExpenseListType //积分消耗
};

typedef NS_ENUM(NSUInteger,LYDetailType)
{
    LYDetailTypeRecharge, //充值明细
    LYDetailTypeIntegral, //积分明细
};

//0银联,1支付宝 2微信
typedef enum : NSUInteger {
    LYThirdPayTypeUnion = 16,
    LYThirdPayTypeWechat = 2,
    LYThirdPayTypeAli = 1,
} LYThirdPayType;


typedef NS_ENUM(NSInteger,JYAddressType){ //收货地址
    JYAddressType_MerchantName, //商家名称
    JYAddressType_ReceivingName,//收货人
    JYAddressType_Contactnumber,//收货人电话
    JYAddressType_Address, //收货地址
    JYAddressType_DistributionTime,//配送时间
};
